﻿using Common.Communal;
using ERP.Domain.CustomerSupplier;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sell.Services.Phrases
{
    public interface IPhrasesServices
    {
        /// <summary>
        /// 销售合同添加
        /// </summary>
        /// <param name="customers"></param>
        /// <returns></returns>
        Task<ApiResult<int>> AddPhrase(ERP.Domain.SalesManagement.Phrase phrase);
        /// <summary>
        /// 销售合同修改
        /// </summary>
        /// <param name="customers"></param>
        /// <returns></returns>
        Task<ApiResult<int>> UpdatePhrase(ERP.Domain.SalesManagement.Phrase phrase);
        /// <summary>
        /// 删除销售合同
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<ApiResult<int>> DeletePhrase(int id);
        /// <summary>
        /// 修改审核状态
        /// </summary>
        /// <param name="id">销售合同ID</param>
        /// <param name="reviewStatus">审核状态 (0-未审核, 1-已审核)</param>
        /// <returns></returns>
        Task<ApiResult<int>> UpdateReviewStatus(int id, int reviewStatus);
    }
}
